package com.ztom.beans.factory

import com.ztom.beans.factory.support.pojo.BeanDefinition

/**
 * @author ZhangTao
 */
interface ConfigurableListableBeanFactory : ConfigurableBeanFactory, ListableBeanFactory, AutowireCapableBeanFactory {

    /**
     * 根据 bean name 获取 bean definition
     */
    fun getBeanDefinition(beanName: String): BeanDefinition

    /**
     * 提前初始化全部单例 bean
     */
    fun preInstantiateSingletons()
}